package global

type AdChannel int64

const RedisMiniShortUrlParams = "mini:shortUrl:params:reqId:%d" //广告req
const RedisOrderBindInfo = "go:order:bind_info:%s"

const (
	AdChannelAdq AdChannel = 1 // adq
	AdChannelKs  AdChannel = 4 // 磁力
)

func (s AdChannel) String() string {
	switch s {
	case AdChannelAdq:
		return "广点通"
	case AdChannelKs:
		return "磁力"
	default:
		return ""
	}
}
